import re

from curl_cffi import requests
url = "https://tieba.baidu.com/t/f/?class=college"



response = requests.get(url,impersonate=requests.BrowserType.chrome100)


# print(response.text)

items = re.findall('<a class="each_topic_entrance_item" href="(.*?)" data-fid=".*?">(.*?)</a> ',response.text,re.S)


for item in items:
    print(item)










